package com.bprogram.controller;

import com.bprogram.pojo.Partion;
import org.apache.tomcat.jni.FileInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "UPLOAD")
public interface UploadFeign {
    @GetMapping("/upload/deleteInDB")
    public boolean deleteInDB(@RequestParam("id")long id) ;



    @DeleteMapping("/upload/deleteInServer")
    public String deleteInServer(@RequestParam("key") String key);
}
